package gat.domain.service.backgroundUser.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.backgroundUser.UserRoleReqDtoConvertor;
import gat.convertor.backgroundUser.UserRoleResDtoConvertor;
import gat.domain.service.backgroundUser.UserRoleDomainService;
import gat.infrastructure.persistence.dao.backgroundUser.UserRoleMapper;
import gat.infrastructure.persistence.po.backgroundUser.UserRolePo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("userRoleDomainService")
public class UserRoleDomainServiceImpl implements UserRoleDomainService {

    @Autowired
    private UserRoleReqDtoConvertor userRoleReqDtoConvertor;

    @Autowired
    private UserRoleResDtoConvertor userRoleResDtoConvertor;

    private IPService<UserRolePo> userRolePoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public UserRoleDomainServiceImpl(UserRoleMapper userRoleMapper) {
        this.userRolePoService = new BasePService(userRoleMapper);
    }
}